package com.study.service.ioc;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IocTestServiceA {

	@Autowired
	private IocTestServiceB iocTestServiceB;

	public IocTestServiceA() {
		System.out.println("IocTestServiceA construct runing ");
	}

	public void test() {
		System.out.println("IocTestServiceA test method running ");
		iocTestServiceB.test();
	}

}
